<?php 
$title = isset($title) ? $title : '';
$meta = isset($meta) ? $meta : array();
$css  = isset($css) ? $css : array();

Asset::container('header')->add('bootstrap', 'css/bootstrap/bootstrap.min.css');
Asset::container('header')->add('layout', 'css/share/front_layout.css');
?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <link rel="shortcut icon" href="/img/favicon.ico" />

  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="secrule-site-verification" content="YWNhYWI1MDcyOGFjNDZhOGQyZDk2MWIzYzUyMzQ4ZmE=" />
  <title><?php echo $title;?></title>
  <?php foreach ($meta as $k => $v):?>
    <meta name="<?php echo $k;?>" content="<?php echo $v;?>">
  <?php endforeach;?>
  <?php echo Asset::container('header')->styles();?>
  <?php foreach ($css as $c) echo Asset::container($c)->styles();?>
</head>
<body>
<div class="container-fluid">
<div class='container' style='height:70px;' id='header'>
  <div id='logo' style='margin-top:10px;float:left;'>
    <a href='/front'><img src='/img/front/logo.png'></a>
  </div>
  <form action='/search/' method='get'>
  <div class="input-append pull-right" style='margin-top:40px;'>
    <input class="span4" id="search_word" name='keyword' type="text">
    <button class="btn btn-primary" id='search' type="submit">搜索</button>
  </div>
  </form>
</div>
